package com.boarsoft.boar.demo.order;

import java.io.IOException;
import java.util.Properties;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class OrderConfig {
	private final static Logger log = LoggerFactory.getLogger(OrderConfig.class);
	private final static Properties prop = new Properties();

	static {
		try {
			log.info("Load boar-soagov config.properties ...");
			prop.load(OrderConfig.class.getClassLoader()
					.getResourceAsStream("config.properties"));
		} catch (IOException e) {
			log.error("Error on load config.properties.", e);
		}
	}
}